<template>
  <div>
    {{msg | capitalize}}
  </div>
</template>
<script>
  export default {
    name:'Hello',
    data(){
      return{
        msg:'hello world'
      }
    },
    filters: {
      capitalize(value) {
        if(value){
          return value.toUpperCase();
        }
      }
    }
  }
</script>
